import request from '@/utils/request'
/* 
  获取违规员工客户
*/
export const violationCustomerStaff = (data: any) => {
  return request({
    url: '/scrm-api/console/riskmonitoring/violationmonitoring/violation-staff-contact-list',
    method: 'POST',
    data
  })
}
// 获取违规群聊列表
export const getViolationGroup = (data: any) => {
  return request({
    url: '/scrm-api/console/riskmonitoring/violationmonitoring/violation-group-chat-list',
    method: 'POST',
    data
  })
}
// 违规员工/客户-违规记录
export const getViolationChat = (data: any) => {
  return request({
    url: '/scrm-api/console/riskmonitoring/violationmonitoring/staff-contact-violation-records',
    method: 'POST',
    data
  })
}
// 违规群聊-违规记录
export const getViolationGroupChat = (data: any) => {
  return request({
    url: '/scrm-api/console/riskmonitoring/violationmonitoring/groupchat-violation-records',
    method: 'POST',
    data
  })
}
// 违规员工/客户-查看上下文
export const getViolationContext = (data: any) => {
  return request({
    url: '/scrm-api/console/riskmonitoring/message/chat-details',
    method: 'POST',
    data
  })
}
// 违规群聊-查看上下文
export const getViolationGroupContext = (data: any) => {
  return request({
    url: '/scrm-api/console/riskmonitoring/message/group-chat-details',
    method: 'POST',
    data
  })
}
// 标记为正常
export const signNormal = (data: any) => {
  return request({
    url: '/scrm-api/console/riskmonitoring/violationmonitoring/mark-normal',
    method: 'POST',
    data
  })
}
